package usbipserversrv

import "usbipproxy/domain/vo"

type UsbipServerSrvMgrService interface {
	Add(busId, sessId string, svc UsbipServerSrvService) error
	Remove(busId, sessId string)
	RecvHeartbeatMsg(busId, sessId string) error
	RecvMsg(busId, sessId string, data []byte) error
	Stop()
	//DeleteByNotifyConnId(notifyConnId int64)
	GetByBusId(busId string) (connId int64, vendorId string, sesId string, exist bool)
	GetBusIdsByConnId(notifyConnId int64) []*vo.BusInfo
}
